#ifndef BUFF_H
#define BUFF_H

#include "kernel/externc.h"
#include "kernel/boolean.h"

#define BUFF_ROW  50
#define BUFF_COLUMN 80

typedef short(*Buff)[BUFF_COLUMN];

typedef struct
{
    short buffer[BUFF_ROW][BUFF_COLUMN];
    int curRow;
    int curColumn;
} TerminateBuffer;

BEGIN_EXTERNC

void CreateTerminateBuffer(TerminateBuffer* buffer);
void FreeTerminateBuffer(TerminateBuffer* buffer);

END_EXTERNC

#endif // BUFF_H
